<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>v-bind指令讲解</title>
		<script src="js/vue.js"></script>
	</head>
	<body>
		<div id="app">
			<button v-bind:title="titles">ok</button>
			<img :src="imgSrc"/>
		</div>
	</body> 
	<script>
		var app=new Vue({
			el:"#app",
			data:{
				titles:"这是一个按钮",
				imgSrc:"img/bg10.jpg"
			},
			methods:{
				
			}
		})
		
	</script>
</html>
